Skip to content

com.inscoper.api.Metadata

Metadata class represents a container for image metadata. More...

Public Functions

Name
synchronized void delete()
void swigReleaseOwnership()
void swigTakeOwnership()
Metadata()
Default constructor.
Metadata(Metadata md)
Copy constructor.
void copy(Metadata md)
Copy metadata content.
long index()
Get the type index of the metadata.
SWIGTYPE_p_std__type_info type()
Get the type of the metadata.
String serialize()
Serialize the metadata.
String toString()
Convert to string.
void fromString(String value, long index)
Build from string.
java.lang.Object swigOriginalObject()
Metadata(boolean value)
Metadata(char value)
Metadata(short value)
Metadata(int value)
Metadata(long value)
Metadata(float value)
Metadata(double value)
Metadata(String value)
java.lang.Object get()
boolean isList()
void fromList(MetadataList args)
MetadataList asList()
boolean isMap()
void fromMap(MetadataMap args)
MetadataMap asMap()
boolean isInstance()
void fromInstance(Metadata md)
java.lang.Object asInstance()

Protected Functions

Name
Metadata(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
void swigDirectorDisconnect()
long getCPtr(Metadata obj)

Detailed Description

public class com.inscoper.api.Metadata;

Metadata class represents a container for image metadata.

This class allows to store metadata of various types (integers, floats, strings, containers) and provides methods for access, conversion, and serialization.

Public Functions Documentation

function delete

public synchronized void delete()

function swigReleaseOwnership

public void swigReleaseOwnership()

function swigTakeOwnership

public void swigTakeOwnership()

function Metadata

public Metadata()

Default constructor.

Initializes a new instance of the Metadata class.

function Metadata

public Metadata(
    Metadata md
)

Copy constructor.

Parameters:

  • md : The metadata to copy from

Creates a new Metadata instance as a deep copy of an existing one.

function copy

public void copy(
    Metadata md
)

Copy metadata content.

Parameters:

  • md : The metadata to copy

Copies the data from a metadata.

function index

public long index()

Get the type index of the metadata.

Return: The type index

Retrieves the index of the metadata type.

function type

public SWIGTYPE_p_std__type_info type()

Get the type of the metadata.

Return: The type

Retrieves the type of the metadata.

function serialize

public String serialize()

Serialize the metadata.

Return: The serialized form of the metadata

Provides a serialization interface for Metadata. Must be overridden.

function toString

public String toString()

Convert to string.

Return: The string representation

Returns a human-readable string representation of the metadata element.

function fromString

public void fromString(
    String value,
    long index
)

Build from string.

Parameters:

  • value : The string to parse
  • index : The expected type index

Parses a string and sets the metadata, interpreting it as the specified type index.

function swigOriginalObject

public java.lang.Object swigOriginalObject()

function Metadata

public Metadata(
    boolean value
)

function Metadata

public Metadata(
    char value
)

function Metadata

public Metadata(
    short value
)

function Metadata

public Metadata(
    int value
)

function Metadata

public Metadata(
    long value
)

function Metadata

public Metadata(
    float value
)

function Metadata

public Metadata(
    double value
)

function Metadata

public Metadata(
    String value
)

function get

public java.lang.Object get()

function isList

public boolean isList()

function fromList

public void fromList(
    MetadataList args
)

function asList

public MetadataList asList()

function isMap

public boolean isMap()

function fromMap

public void fromMap(
    MetadataMap args
)

function asMap

public MetadataMap asMap()

function isInstance

public boolean isInstance()

function fromInstance

public void fromInstance(
    Metadata md
)

function asInstance

public java.lang.Object asInstance()

Protected Functions Documentation

function Metadata

protected Metadata(
    long cPtr,
    boolean cMemoryOwn
)

function swigSetCMemOwn

protected void swigSetCMemOwn(
    boolean own
)

function finalize

protected void finalize()

function swigDirectorDisconnect

protected void swigDirectorDisconnect()

function getCPtr

protected static long getCPtr(
    Metadata obj
)

Updated on 2026-04-02 at 10:55:38 +0200